package gui_classes;

import java.awt.Dimension;
import javax.swing.JPanel;
import javax.swing.JLabel;

public class IncomeChartPage extends DERPBase {

	/**
	 * Create the panel.
	 */
	public IncomeChartPage(String month, String total, String patientsSeen) {
		setPreferredSize(new Dimension(450,450));
		setLayout(null);
		
		JLabel lblMonthlyIncomeChart = new JLabel("Monthly Income Chart");
		lblMonthlyIncomeChart.setBounds(150, 12, 220, 15);
		add(lblMonthlyIncomeChart);
		
		JLabel lblEditmonth = new JLabel(month);
		lblEditmonth.setBounds(184, 45, 70, 15);
		add(lblEditmonth);
		
		JLabel lblPatientsSeen = new JLabel("Patients Seen:");
		lblPatientsSeen.setBounds(12, 88, 120, 15);
		add(lblPatientsSeen);
		
		JLabel lblMonthlyIncome = new JLabel("Monthly Income:");
		lblMonthlyIncome.setBounds(12, 181, 120, 15);
		add(lblMonthlyIncome);
		
		JLabel lblEditpats = new JLabel(patientsSeen);
		lblEditpats.setBounds(231, 88, 106, 15);
		add(lblEditpats);
		
		JLabel lblEditincome = new JLabel(total);
		lblEditincome.setBounds(228, 181, 109, 15);
		add(lblEditincome);

	}
	
	public void display()
	{
		GUI_Main.replacePanel(this);
	}

}
